<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/view/include/inc.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
<%@ include file="/WEB-INF/view/jQgrid.jsp"%>
<link type="text/css" rel="stylesheet" href="<%=contextPath %>/static/bootstrap-fileinput/css/fileinput.css" />
<script type="text/javascript" src="<%=contextPath %>/static/bootstrap-fileinput/js/fileinput.js"></script>
<script type="text/javascript" src="<%=contextPath %>/static/bootstrap-fileinput/js/locales/zh.js"></script>
<script type="text/javascript" src="<%=contextPath %>/plugins/zTree_v3/js/jquery.ztree.core.min.js"></script>
<script type="text/javascript" src="<%=contextPath %>/plugins/zTree_v3/js/jquery.ztree.excheck.min.js"></script>

</head>
<body>
	<div class="container-fluid" id="main-container">
		<div id="page-content" class="clearfix">
			<div class="row-fluid">
				<div class="col-sm-10">
					<form class="form-horizontal" id="signupForm" role="form" method="post" enctype="multipart/form-data">
					<input type="hidden" name="id"  id="id" value="${resume.id }" />
					<input type="hidden" name="position"  id="position" value="${resume.position }" />
						<fieldset>
							<legend>基本资料</legend>
							<div class="form-group">
								<!-- Select Basic -->
								<label class="col-sm-2 control-label">类型：</label>
								<div class="col-sm-4">
								<span class="help-block">${fns:getDictLabel(resume.type,'resume_type','')}</span>
								</div>
								<label class="col-sm-2 control-label">行业：</label>
								<div class="col-sm-4">
								<span class="help-block">${resume.industryNames }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">真实姓名：</label>
								<div class="col-sm-4">
									<span class="help-block">${resume.trueName }</span>
								</div>
								<label class="col-sm-2 control-label">手机号码：</label>
								<div class="col-sm-4">
									<span class="help-block">${resume.phoneview }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">性别：</label>
								<div class="col-sm-4">
								<span class="help-block">${fns:getDictLabel(resume.sex,'resume_sex','')}</span>
								</div>
								<label class="col-sm-2 control-label">婚姻状况：</label>
								<div class="col-sm-4 form-inline">
									<span class="help-block">${fns:getDictLabel(resume.conditions,'resume_conditions','')}</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">出生日期：</label>
								<div class="col-sm-4">
										<span class="help-block">${resume.birthdate }</span>
								</div>
								<label class="col-sm-2 control-label">身份证号：</label>
								<div class="col-sm-4">
								<c:choose>
									<c:when test="${not empty resume.idCard}">
										<span class="help-block">${resume.idCard }</span>
									</c:when>
									<c:otherwise> 
										<span class="help-block">暂无</span>
									</c:otherwise>
								</c:choose>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">身高：</label>
								<div class="col-sm-4 form-inline">
								<c:choose>
									<c:when test="${not empty resume.stature}">
										<span class="help-block">${resume.stature }（cm）</span>
									</c:when>
									<c:otherwise> 
										<span class="help-block">暂无</span>
									</c:otherwise>
								</c:choose>
								</div>
								<label class="col-sm-2 control-label">体重：</label>
								<div class="col-sm-4 form-inline">
								<c:choose>
									<c:when test="${not empty resume.weight}">
										<span class="help-block">${resume.weight }（kg）</span>
									</c:when>
									<c:otherwise> 
										<span class="help-block">暂无</span>
									</c:otherwise>
								</c:choose>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">民族：</label>
								<div class="col-sm-4">
								<c:choose>
									<c:when test="${not empty resume.ethnic}">
										<span class="help-block">${resume.ethnic }</span>
									</c:when>
									<c:otherwise> 
										<span class="help-block">暂无</span>
									</c:otherwise>
								</c:choose>
								</div>
								<label class="col-sm-2 control-label">健康状况：</label>
								<div class="col-sm-4">
									<span class="help-block">${resume.health }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">邮箱：</label>
								<div class="col-sm-4">
										<span class="help-block">${resume.email }</span>
								</div>
								<label class="col-sm-2 control-label">QQ：</label>
								<div class="col-sm-4">
								<c:choose>
									<c:when test="${not empty resume.qq}">
										<span class="help-block">${resume.qq }</span>
									</c:when>
									<c:otherwise> 
										<span class="help-block">暂无</span>
									</c:otherwise>
								</c:choose>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">微信：</label>
								<div class="col-sm-4">
								<c:choose>
									<c:when test="${not empty resume.wechat}">
										<span class="help-block">${resume.wechat }</span>
									</c:when>
									<c:otherwise> 
										<span class="help-block">暂无</span>
									</c:otherwise>
								</c:choose>
								</div>
								<label class="col-sm-2 control-label">领英：</label>
								<div class="col-sm-4">
								<c:choose>
									<c:when test="${not empty resume.linkedin}">
										<span class="help-block">${resume.linkedin }</span>
									</c:when>
									<c:otherwise> 
										<span class="help-block">暂无</span>
									</c:otherwise>
								</c:choose>
								</div>
							</div>
							<div class="form-group">
							    <label class="col-sm-2 control-label">国籍：</label>
								<div class="col-sm-4">
										<span class="help-block">${resume.nationality }</span>
								</div>
								<label class="col-sm-2 control-label">籍贯：</label>
								<div class="col-sm-4">
								    <span class="help-block">${resume.nativeArea.treeNames }</span>
								</div>
							</div>
							<div class="form-group">
							    <label class="col-sm-2 control-label">户口所在地：</label>
								<div class="col-sm-4 form-inline">
									<span class="help-block">${resume.householdArea.treeNames }</span>
								</div>
								<label class="col-sm-2 control-label">目前所在城市：</label>
								<div class="col-sm-4 form-inline">
								<span class="help-block">${resume.locationArea.treeNames }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">期望工作城市：</label>
								<div class="col-sm-4">
									<span class="help-block">${resume.expectedCityNames }</span>
								</div>
								<label class="col-sm-2 control-label">目前岗位：</label>
								<div class="col-sm-4">
									<span class="help-block">${resume.position }</span>
								</div>
							</div>
							<div class="form-group">
								<!-- Select Basic -->
								<label class="col-sm-2 control-label">目前年薪：</label>
								<div class="col-sm-4 form-inline">
										<span class="help-block">${resume.emolument }万人民币，其中基本年薪${resume.basicSalary }万人民币，奖金${resume.bonus }万人民币，期权/股权${resume.equity }</span>
								</div>
								<label class="col-sm-2 control-label">期望年薪：</label>
								<div class="col-sm-4 form-inline">
										<span class="help-block">${resume.expectSalarystart }-${resume.expectSalaryend }（万人民币）</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">资格证书：</label>
								<div class="col-sm-4">
										<span class="help-block">${resume.signature }</span>
								</div>
								<label class="col-sm-2 control-label">语言能力：</label>
								<div class="col-sm-4 form-inline">
								    <span class="help-block">${resume.language}</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">第一学历：</label>
								<div class="col-sm-4">
										<span class="help-block">${resume.education }</span>
								</div>
								<label class="col-sm-2 control-label">专业：</label>
								<div class="col-sm-4">
										<span class="help-block">${resume.profession }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">目前状态：</label>
								<div class="col-sm-4">
								    <span class="help-block">${fns:getDictLabel(resume.status,'resume_status','')}</span>
								</div>
								<label class="col-sm-2 control-label">标签：</label>
								<div class="col-sm-4">
										<span class="help-block">${resume.tag }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">自我评价：</label>
								<div class="col-sm-8">
								<span class="help-block">${resume.advantage }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">备注：</label>
								<div class="col-sm-8">
								<span class="help-block">${resume.remark }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">证件照：</label>
								<div class="col-sm-4">
								<c:choose>
									<c:when test="${not empty resume.headPic}">
										<img src="<%=contextPath %>${resume.headPic }" class="img-rounded">
									</c:when>
									<c:otherwise> 
										<span class="help-block">暂无图片</span>
									</c:otherwise>
								</c:choose>
								</div>
								<label class="col-sm-2 control-label">生活照：</label>
								<div class="col-sm-4">
								<c:choose>
									<c:when test="${not empty resume.lifePhoto}">
										<img src="<%=contextPath %>${resume.lifePhoto }" class="img-rounded">
									</c:when>
									<c:otherwise> 
										<span class="help-block">暂无图片</span>
									</c:otherwise>
								</c:choose>
								</div>
							</div>
						</fieldset>
						<fieldset>
							<legend>工作经历</legend>
							<c:forEach items="${workExperiences }" var="workexp">
							<div class="form-group">
								<label class="col-sm-2 control-label">起止时间：</label>
								<div class="col-sm-10 form-inline">
								    <span class="help-block">${workexp.startDate }至${workexp.endDate }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">公司名称：</label>
								<div class="col-sm-8">
									<span class="help-block">${workexp.companyName }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">工作职能：</label>
								<div class="col-sm-4">
									<span class="help-block">${workexp.job }</span>
								</div>
								<label class="col-sm-2 control-label">职位名称：</label>
								<div class="col-sm-4">
									<span class="help-block">${workexp.position }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">部门名称：</label>
								<div class="col-sm-4">
									<span class="help-block">${workexp.depId }</span>
								</div>
								<label class="col-sm-2 control-label">工作地点：</label>
								<div class="col-sm-4">
									<span class="help-block">${workexp.workplace }</span>
								</div>
							</div>
							<div class="form-group">
							   <label class="col-sm-2 control-label">汇报上级：</label>
								<div class="col-sm-4">
									<span class="help-block">${workexp.report }</span>
								</div>
								<label class="col-sm-2 control-label">下属人数：</label>
								<div class="col-sm-4">
									<span class="help-block">${workexp.subordinateNum }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">工作职责：</label>
								<div class="col-sm-10">
									<span class="help-block">${workexp.responsibility }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">工作业绩：</label>
								<div class="col-sm-10">
								<c:choose>
									<c:when test="${not empty workexp.performance}">
										<span class="help-block">${workexp.performance }</span>
									</c:when>
									<c:otherwise> 
										<span class="help-block">暂无</span>
									</c:otherwise>
								</c:choose>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">项目经验：</label>
								<div class="col-sm-10">
								<c:choose>
									<c:when test="${not empty workexp.project}">
										<span class="help-block">${workexp.project }</span>
									</c:when>
									<c:otherwise> 
										<span class="help-block">暂无</span>
									</c:otherwise>
								</c:choose>
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							</c:forEach>
							</fieldset>
							<fieldset>
							<legend>教育经历</legend>
							<c:forEach items="${schools }" var="schoolexp">
							<div class="form-group">
								<label class="col-sm-3 control-label">起止时间：</label>
								<div class="col-sm-8 form-inline">
									<span class="help-block">${schoolexp.startDate } 至 ${schoolexp.endDate }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">学校名称：</label>
								<div class="col-sm-8">
									<span class="help-block">${schoolexp.schoolName }</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">专业：</label>
								<div class="col-sm-8">
									<span class="help-block">${schoolexp.profession } </span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">学历：</label>
								<div class="col-sm-8">
									<span class="help-block">${schoolexp.education } </span>
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							</c:forEach>
							</fieldset>
					</form>
				</div>
				<!-- PAGE CONTENT ENDS HERE -->

			</div>
			<!--/row-->
		</div>
		<!--/#page-content-->
	</div>
	<!--/.fluid-container#main-container-->
	<script type="text/javascript">
		 $('.datetime').datetimepicker({
			    format: 'yyyy年mm月dd日',
		        autoclose: true,
		        todayBtn: true,
		        startView: 'month',
		        minView:'month',
		        maxView:'decade',
		        language:  'zh-CN',
		  });
	</script>
</body>
</html>

